
import java.util.Properties;

import javax.mail.Message;
import javax.mail.Session;


public abstract class ServidorMails {
	
	protected String email;
	protected String password;
	protected String smtp;
	protected String puerto;
	protected Properties props;
	protected Session session;
	
	public ServidorMails(String email, String password, String smtp, String puerto){
		this.email = email;
		this.password = password;
		this.smtp = smtp;
		this.puerto = puerto;
		this.props = new Properties();
	}
	
	public abstract Session getSession();
	
	public abstract void enviar(Message mensaje);

	
}
